/**
 * Project Name:umale-maintenance
 * File Name:XUTransactional
 * Package Name:com.lagou.edu.annotation
 * Date: 2020/3/4 上午9:44
 * Copyright (c) 2018, Neoglory-umale All Rights Reserved.
 */
package com.xuhaowei.mvcframework.myannotation;

import java.lang.annotation.*;

/**
 * @ClassName XUTransactional
 * @Description TODO
 * @Author xuhaowei
 * @Date 2020/3/4 上午9:44
 * @Version 1.0.0
 * @since JDK 1.8
 */

@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface XUTransactional {

    Class<? extends Throwable>[] rollbackFor() default {};
}